﻿/// <reference path="SimpleControl.js" />

var ____a;

var $ImageControl = TA.Turbo.Controls.ImageControl = function ImageControl(clientId)
{
	this.SimpleControl(clientId);
}
$ImageControl.Inherit($SimpleControl);

if (____a)
{
	$ImageControl.prototype = new $SimpleControl();
	$ImageControl.prototype.SimpleControl = new $SimpleControl();
}


$PropertyDefinition.Define($ImageControl, "Src", "R", "", {
	GetInitValue: function GetInitValue(obj)
	{
		return obj.get_Control().src;
	},
	OnChanged: function OnChanged()
	{
		this.get_Control().src = this._properties.Src;
	}
});

$PropertyDefinition.Define($ImageControl, "Alt", "A", "", {
	GetInitValue: function GetInitValue(obj)
	{
		return obj.get_Control().alt;
	},
	OnChanged: function OnChanged()
	{
		this.get_Control().alt = this._properties.Alt;
	}
});



$ImageControl.prototype.get_Value = function get_Value()
{
	return this.get_Control().src;
}
$ImageControl.prototype.set_Value = function set_Value(value)
{
	this.get_Control().src = value;
}
